import java.util.ArrayList;
import java.util.LinkedList;

public class Merge {
    public LinkedList mergeTwoLists(
            LinkedList head1,LinkedList head2){
        LinkedList newHead = new LinkedList();
        LinkedList tmp = newHead;
        while (head1 != null && head2 != null){
            if (head1.val)
        }
    }


}
